interface Res {
  status_code: number;
  status_msg: string;
}
export interface HistoryReq {
  page: number;
  page_size: number;
  params: {
    app_id: string;
    group_id: string;
  };
}
export interface HistoryRes extends Res {}
export interface CreateReq {
  app_id: string;
}
export interface CreateRes extends Res {
  data: {
    group_id: string;
  };
}
export interface ChatReq {
  app_id: string;
  group_id: string;
  action: 'CREATE' | 'REFRESH';
  // 当action为REFRESH时，msg_id必填
  msg_id?: string;
  question: {
    query: string;
    ref?: {
      select_content?: string;
      data?: object;
    };
  };
}
export interface FeedbackReq {
  msg_id: string;
  feedback: 'LIKE' | 'DISLIKE';
  content?: string;
}
export interface FeedbackRes extends Res {}
